local ShopCell = class("ShopCell")

local MAX_CARD = 5

function ShopCell:ctor()
end

function ShopCell:updateUI(lines)
    for i = 1, MAX_CARD do
        local data = lines[i]
        if data then
            self["_card" .. i].gameObject:SetActive(true)
            self["_card" .. i]:updateUI(data)
        else
            self["_card" .. i].gameObject:SetActive(false)
        end
    end
end

return ShopCell
